﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ImapX.Parsing.DataItems;
using System.IO;

namespace ImapX.Parsing.Commands
{
    public abstract class Command:DataItem
    {
        protected string PartsCommand
        {
            get
            {
                var commands = String.Join(" ",(from part in parts select ((DataItem)part).Command));

                return "(" + commands + ")";
            }
        }
    }
}
